package com.zhiyou100.entity;


import java.io.Serializable;
import java.util.List;

/**
 * 社团列表
 *
 * @author yang
 */
public class UnionList implements Serializable {

    private Integer uid;
    private String uname;

    /**
     * 记录 该社团的所有学生
     */
    private List<Student> list;

    public UnionList() {
    }

    public UnionList(Integer uid, String uname, List<Student> list) {
        this.uid = uid;
        this.uname = uname;
        this.list = list;
    }

    @Override
    public String toString() {
        return "UnionList{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", list=" + list +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public List<Student> getList() {
        return list;
    }

    public void setList(List<Student> list) {
        this.list = list;
    }

}
